From: Florian Müllner Date: Tue, 19 Mar 2024 13:01:13 +0000 (+0100) Subject: altTab: Use more appropriate fallback icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~197 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=817ae5069230820f8027e44400c76e5caab56521;p=gnome-shell.git altTab: Use more appropriate fallback icon 'icon-missing' is not an actual icon name. It somewhat works because an invalid icon name will fallback to the correct 'image-missing', however for apps the generic app icon is a better fallback. Part-of: --- diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 0e64d65ee..004ca81a5 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -1050,7 +1050,7 @@ class WindowIcon extends St.BoxLayout { _createAppIcon(app, size) { let appIcon = app ? app.create_icon_texture(size) - : new St.Icon({icon_name: 'icon-missing', icon_size: size}); + : new St.Icon({icon_name: 'application-x-executable', icon_size: size}); appIcon.x_expand = appIcon.y_expand = true; appIcon.x_align = appIcon.y_align = Clutter.ActorAlign.END;